{* 
//////
//    @version [ Masterton ]
//    @package hwdVideoShare
//    @copyright (C) 2007 - 2009 Highwood Design
//    @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
//////
//    hwdVideoShare Template System:::This template system uses the Smarty Template Engine. 
//    For full documentation, including syntax usage please refer to http://www.smarty.net 
//    or our website at http://www.hwdmediashare.co.uk   
//////
//    This file generates the header for the hwdVideoShare component and outputs the top navigation system.
//////
//    VARIABLES AVAILBLE IN THIS TEMPLATE FILE:                                        
//    -- $print_ads.......Only set if hwdRevenueManager is installed 
//    -- $advert1.........The code for Advert1 
//    -- $advert2.........The code for Advert2 
//    -- $print_nav.......Only set if any navigation buttons are enabled
//    -- $print_vlink.....Only set if "videos" link is enabled
//    -- $print_clink.....Only set if "categories" link is enabled
//    -- $print_glink.....Only set if "groups" link is enabled
//    -- $print_ulink.....Only set if "upload" link is enabled
//    -- $print_search....Only set if search function is enabled
//    -- $form_search.....The URL to post the search form
//    -- $searchinput.....The search text input code 
//    -- $print_usernav...Only set if any user navigation links are enabled
//    -- $yv..............The link to "your videos"
//    -- $yf..............The link to "your favourites"
//    -- $yg..............The link to "your groups"  
//    -- $ym..............The link to "your group memberships"
//    -- $cg..............The link to "create group" 
//////
*}

{if $print_ads}{if $advert1}<div id="hwdadverts-padding">{$advert1}</div>{/if}{/if}

<div id="community-wrap">



	<div class="cToolbar">
		<div class="cToolbar clrfix">
			<span style="float:right;"><a href="{$rss_recent}"><img src="{$URL_HWDVS_IMAGES}rss.png" border="0" alt="RSS" title="RSS" style="vertical-align:baseline; margin: 5px 5px 0 5px;" /></a></span>
			<ul>
				{if $print_HomeButton eq 1}
				<li id="toolbar-item-frontpage" class="">
					<a href="{$HomeButtonLink}">Home</a>
				</li>
				{/if}

				{if $print_vlink}
				<li id="toolbar-item-profile" class="{if $vact}toolbar-active{/if}">
					{$vlink}
				</li>
				{/if}
	        
				{if $print_clink}
				<li id="toolbar-item-profile" class="{if $cact}toolbar-active{/if}">
					{$clink}
				</li>
				{/if}
	        
				{if $print_glink}
				<li id="toolbar-item-profile" class="{if $gact}toolbar-active{/if}">
					{$glink}
				</li>
				{/if}	        

				{if $print_ulink}
				<li id="toolbar-item-profile" class="{if $uact}toolbar-active{/if}">
					{$ulink}
				</li>
				{/if}
	        
				{if $print_usernav}
				<li id="toolbar-item-apps" class="">
					<a href="{$mosConfig_live_site}/index.php?option=com_hwdvideoshare&task=yourvideos&Itemid={$Itemid}" onmouseover="joms.toolbar.open('hwdm3')" onmouseout="joms.toolbar.closetime()">Users</a>
					<div id="hwdm3" onmouseover="joms.toolbar.cancelclosetime()" onmouseout="joms.toolbar.closetime()" style="visibility: hidden; overflow: hidden;">{$yv}{$yf}{$yg}{$ym}{$cg}</div>
				</li>
				{/if}
				
			</ul>
		</div>
	</div>

	{if $print_ads}{if $advert2}<div id="hwdadverts-padding">{$advert2}</div>{/if}{/if}
